home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
pc_board
/
nn01.zip
/
NN.DOC
< prev
next >
Wrap
Text File
|
1992-08-11
|
8KB
|
301 lines
██████ ██ ██
░██░░██ ░██ ░██
░██ ░██ ░██ ████████ ████████ ████████
░██ ░██ ░██ ░██░░░░██ ░██░░░░██ ░██░░░░██
░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██
░██ ░██ ░██ ░██ ░██ ░██ ░██ ░████████
░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██░░░░░
░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██
░██ ░██████ ░████████ ░████████ ░████████ Fido Net Node List/Diff
░░ ░░░░░░ ░░░░░░░░ ░░░░░░░░ ░░░░░░░░ and FidoNews Utility.
██████ ██
░██░░██ ░██
░██ ░██ ░██ ████████ ██ ██ ████████ Created by Tom Carroll
░██ ░██ ░██ ░██░░░░██ ░██ ██ ░██ ░██░░░░░ Copyright (C) 1992
░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ All rights reserved
░██ ░██ ░██ ░████████ ░██ ░██ ░██ ░████████
░██ ░██ ░██ ░██░░░░░ ░██ ░██ ░██ ░░░░░░░██
░██ ░██ ░██ ░██ ░██ ░██ ░██ ██
░██ ░██████ ░████████ ░████████████ ░████████
░░ ░░░░░░ ░░░░░░░░ ░░░░░░░░░░░░ ░░░░░░░░ Version 1.0
The Data Shop BBS
(509)582-9493 (HST)
Kennewick, WA
FIDO address (1:347/10)
MAGIC FILE NAME: NODENEWS
┌──────────────┐
│ INTRODUCTION │
└──────────────┘
I wrote Node/News because I got tired of my BBS hanging in an endless loop
every time I received a NODExxxx file, or the Fido News. I had a batch file
routine setup to copy the files, and process them into the BBS, but then I
wrote Node/News, and I couldn't delete the files like I was doing before.
This utility is a last ditch effort for me, before I sit down and really
learn how to write efficient batch routines. <grin>
┌──────────────┐
│ DISCLAIMER │
└──────────────┘
This software is provided without any guarantee or warranty either expressed
or implied. I will not be held responsible for ANY damages that may result
in the use of this program. "ANY" means if you install it, run it, and it
eats your programs that you've been working on for 2 years without a backup,
IT'S NOT MY FAULT!!!
Node/News software and this document are Copyright (C) 1992 by Tom Carroll.
All rights reserved.
┌──────────────┐
│ LICENSE │
└──────────────┘
This program is being released as FREEWARE. The source code will remain
the property of the author unless otherwise released by him.
You are free to use this version of the program without any cost of
registration. This however, may change at any time with a new version
release. (If this should happen, a one time registration fee will be asked)
No one may alter, modify, or reverse engineer Node/News for any reason,
including but not limited to decompiling-compiling, patching, or
disassembling.
You may freely distribute & copy this program for others subject to the above
restrictions and the following:
■ Node/News is copied in unmodified form including this file.
■ There is no charge for copying except for the cost of disks.
■ Node/News is not included in another software package
without the express written permission of Tom Carroll
┌──────────────┐
│ SUPPORT │
└──────────────┘
If you should find any problems with this program, or you have any requests
or recommendations, you may reach me on my BBS, or at the FIDO address listed
on the front cover. I may also be reached in the QUIK_BAS & PCBNET FIDO
echos.
Node/News v1.0 Page 2
┌──────────────┐
│ THE AUTHOR │
└──────────────┘
This is my second public program. I'm planning on more, so keep your eyes
peeled!
I have been writing in BASIC for about 7 years, and I really like it, but
I'm planning on taking a course in "C" this fall, so this might be my last
summer programming in BASIC.
I am presently active duty in the U.S. Coast Guard, and have been a "Sysop"
for their computer systems at my duty stations for about 6 years.
I would like to thank my wife, who always says "Are you coming to bed, or
are you going to keep PLAYING on that computer?"
┌──────────────┐
│ FILES │
└──────────────┘
Files included in this archive:
NN.DOC - This manual
NN.EXE - Node/News Executable
NN.HIS - Node/News history file
FILE_ID.DIZ - Description file for Node/News
PAGEKILL.EXE - A little utility I wrote for FIDONEWS
I originally compressed this program as NNnn.ARJ, but it may be
compressed with any other archiving program you wish to use.
The latest version will always be available on my BBS using the magic
filename of NODENEWS.
┌──────────────┐
│ SETUP │
└──────────────┘
All you need to do is type NN <enter> to get the help screen.
Here is an example of the help screen:
Node/News v1.0 Page 3
Node/News, FIDO NEt's NODE list/diff file & FIDONEWS processor. Version 1.0
Copyright (C) 1992, by Tom Carroll All rights reserved
USAGE: To check for a new NODELIST, NODEDIFF, or FIDONEWS file that is
newer than the last one processed. It will store all info within the
NN.DAT file in order to compare the file date-time stamp to the last one
processed. NN will only work with one file type at a time. In order to
check for the existence of all three, you need to make three separate calls
to NN.EXE
SYNTAX: NN <LIST/DIFF/NEWS> <DIR>
LIST will check for a new NODELIST.xxx
DIFF will check for a new NODEDIFF.xxx
NEWS will check for a new FNEWS*.xxx
DIR is the location of your inbound files directory in the format of
C:\FD\FILES (without the trailing back slash)
NN will exit with the following error levels:
0 = No files to process
1 = File exists, but isn't new
2 = File exists, and it's newer
3 = NN internal error, unsuccessful execution
There will be one log file created if it doesn't exist called NN.DAT.
This file keeps information for the three files so it can compare the
file date / time stamp and exit with the appropriate error level. This
file should never grow larger than 72 bytes.
Here is an excerpt of my RUN.BAT file which shows how I process my files:
CD \PCB\FD
REM --------- CHECK FOR NEW NODE & FIDO NEWS FILES ---------
NN DIFF C:\FD_FILES
IF ERRORLEVEL 2 GOTO NODEDIFF
NN LIST C:\FD_FILES
IF ERRORLEVEL 2 GOTO NODELIST
NN NEWS C:\FD_FILES
IF ERRORLEVEL 2 GOTO FIDONEWS
FD
REM --------- APPLY THE NEW NODEDIFF TO THE NODELIST ---------
:NODEDIFF
CLS
ECHO ********* PROCESSING NODEDIFF FILE *********
CD \FD_NODE
PKUNPAK -E \FD_FILES\NODEDIFF.*
XLAXDIFF /C
CD \PCB\FD
FDNC /F
GOTO RESUME
Node/News v1.0 Page 4
REM --------- COMPILE THE NEW NODELIST ---------
:NODELIST
CLS
ECHO ********* PROCESSING NODELIST FILE *********
CD \FD_NODE
DEL NODELIST.*
PKUNPAK -E \FD_FILES\NODELIST.*
CD \PCB\FD
FDNC /F
GOTO RESUME
:FIDONEWS
REM --------- PROCESS THE LATEST FIDO NEWS INTO BLT ---------
CLS
ECHO ********* PROCESSING FIDO NEWS FILE *********
CD \PCB\GEN
LHA E \FD_FILES\FNEWS*
PAGEKILL *.NWS
COPY *.NWS BLT15
DEL *.NWS
CD \PCB\FD
GOTO RESUME
That's it, you shouldn't have to do anything else, but fire it up!
Thanks, and enjoy...
Node/News v1.0 Page 5